package net.wofly.common.util;
/**
 * ResultBean中代码规范 <br/>
 * Copyright (c) 2017 , 北京鑫海飞扬科技有限公司<br/>
 * 2017-7-2 下午12:07:14
 * @author 
 * @version V1.0
 */

public class ResultCode {

	/**
	 * 业务成功标识
	 */
	public static final Integer SUCCESS = 0;
	
	/**
	 * 数据校验错误
	 */
	public static final Integer ERROR_DATA = 100;
	
	/**
	 * 业务数据错误
	 */
	public static final Integer ERROR_SERVICE = 200;
	
	/**
	 * 库存不足
	 */
	public static final Integer ERROR_SERVICE_NOT_ENOUGH = 299;
	
	/**
	 * 数据并发处理错误
	 */
	public static final Integer ERROR_CONCURRENCY = 300;
	
	/**
	 * 业务数据错误
	 */
	public static final Integer ERROR_SESSIONINVALID = 601;

}
